package com.tywj.panda.driver.provider

import android.app.Activity
import com.tywj.panda.customer.common.provider.IDriverService
import com.tywj.panda.driver.route.DriverRoute
import com.tywj.lib.core.common.view.BaseFragment
import com.tywj.lib.route.Route


/**
 * @desc 司机端组件导航
 * @author June Yang
 * @date 2020/5/8
 */

@Route(path = DriverRoute.DRIVER_SERVICE)
class DriverServiceImpl : IDriverService {

    override fun getDriverHomeFragment(activity: Activity): BaseFragment {
        return DriverRoute.getDriverHomeFragment(activity)
    }

    override fun getDriverUserFragment(activity: Activity): BaseFragment {
        return DriverRoute.getDriverUSerFragment(activity)
    }
}